#wget https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz
wget https://share-1300858685.cos.ap-shanghai.myqcloud.com/share/sqlite-autoconf-3310100.tar.gz
tar zxvf sqlite-autoconf-3310100.tar.gz -C /usr/src
cd /usr/src/sqlite-autoconf-3310100/
./configure --prefix=/usr/local
make && make install
mv /usr/bin/sqlite3  /usr/bin/sqlite3_old
ln -s /usr/local/bin/sqlite3   /usr/bin/sqlite3
echo "/usr/local/lib" > /etc/ld.so.conf.d/sqlite3.conf
ldconfig
cd -
sqlite3 -version
